﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH.Public.Model
{
    [Serializable]
    public partial class Public_AdInfo
    {
        public Public_AdInfo()
        { }
        #region Model
        private int _id;
        private string _title = "";
        private int _adareaid = 0;
        private DateTime _starttime = DateTime.Now;
        private DateTime _endtime = DateTime.Now;
        private string _adlink = "";
        private string _adimage = "";
        private string _adcontent = "";
        private int _status = 0;
        private int _sort = 0;
        private DateTime _createtime = DateTime.Now;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 广告标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 广告位标号
        /// </summary>
        public int AdAreaId
        {
            set { _adareaid = value; }
            get { return _adareaid; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 广告链接
        /// </summary>
        public string AdLink
        {
            set { _adlink = value; }
            get { return _adlink; }
        }
        /// <summary>
        /// 广告图片
        /// </summary>
        public string AdImage
        {
            set { _adimage = value; }
            get { return _adimage; }
        }
        /// <summary>
        /// 广告内容
        /// </summary>
        public string AdContent
        {
            set { _adcontent = value; }
            get { return _adcontent; }
        }
        /// <summary>
        /// 状态 0为启用  1 启用  -1删除
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        #endregion Model
    }
}
